a11y: Compute index the easy way
authorBenjamin Otte <otte@redhat.com>
Sat, 12 Nov 2011 04:05:19 +0000 (05:05 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 16 Nov 2011 03:39:24 +0000 (04:39 +0100)
commitb8dec90f3a078b1a8a1b1c52abd8537b7231b900
treeb0aa990d784e5e32c84de5759eaa4fcefb2760fc
parentacc5627e39855e76e1bfa6c6488c5c299e321d98
a11y: Compute index the easy way

index is row_index * n_columns + column_index

We use it everywhere, why not here?
gtk/a11y/gtktreeviewaccessible.c